package cn.leyaber.hrm.service.impl;

import cn.leyaber.hrm.domain.OfficialPost;
import cn.leyaber.hrm.mapper.OfficialPostMapper;
import cn.leyaber.hrm.service.IOfficialPostService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ma.rui.kai
 * @since 2020-12-18
 */
@Service
public class OfficialPostServiceImpl extends ServiceImpl<OfficialPostMapper, OfficialPost> implements IOfficialPostService {
   @Autowired
   private  OfficialPostMapper officialPostMapper;
    @Override
    public void batchDelete(List<Long> ids) {
        System.out.println(ids);
        officialPostMapper.batchDelete(ids);
    }
}
